<template>
  <div class="index">
    <router-view></router-view>
    <van-tabbar v-model="active" placeholder>
      <van-tabbar-item icon="home-o" to='/index/home'>首页</van-tabbar-item>
      <van-tabbar-item icon="hot-sale-o" to='/index/tuan'>团购</van-tabbar-item>
      <van-tabbar-item icon="completed" to='/index/order'>订单</van-tabbar-item>
      <van-tabbar-item icon="contact" to='/index/mine'>我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>

export default {
    data(){
        return {
            active:0
        }
    },
};
</script>

<style>
</style>